<h1><?php echo $this->title;?></h1>
<br/>
<br/>
<!--  start product-table ..................................................................................... -->
				<form id="mainform" method="POST" action="">
				<div><?php echo $this->formLabel('tenlbl','Họ Tên :')?></div>
				<div><?php echo $this->formText('tenhv',null,array('class'=>'inp-form'));?></div>
				<div><?php echo $this->formLabel('namlbl','Năm sinh :')?></div>
				<div><?php echo $this->formText('namsinh',null,array('class'=>'inp-form'));?></div>
				<div><?php echo $this->formLabel('dtlbl','Điện thoại :')?></div>
				<div><?php echo $this->formText('dienthoai',null,array('class'=>'inp-form'));?></div>
				<div><?php echo $this->formLabel('emaillbl','Email :')?></div>
				<div><?php echo $this->formText('email',null,array('class'=>'inp-form'));?></div>
				
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-repeat line-left"><a>Mã khóa học</a></th>
					<th class="table-header-repeat line-left"><a>Tên lớp</a></th>
					<th class="table-header-repeat line-left"><a>Buổi học</a></th>
					<th class="table-header-repeat line-left"><a>Ca học</a></th>
				</tr>
				<br />
				<br />
				<br />
				<h2>Đăng ký khóa học</h2>
<?php
	foreach($this->dkkhoahoc as $khoahoc)
	{
		if($khoahoc->getTrangthai()!='0')
		{
		$id = $khoahoc->getId();
		$makhoahoc = $khoahoc->getMakhoahoc();
		$lophoc = $khoahoc->getLophoc();
		$tenlop = $lophoc->getTenlop();
		$buoihoc = $this->formRadio('buoi'.$id,null,null,array(0 => 'Buổi sáng', 1 => 'Buổi chiều', -1 => 'Buổi tối' ));
		$cahoc = $this->formRadio('ca'.$id,null,null,array(0 => '2-4-6', 1 => '3-5-7'));
		$submit = $this->formSubmit('submit','Đăng ký');
?>
				<tr>
					<td><?php echo $makhoahoc?></td>
					<td><?php echo $tenlop?></td>
					<td><?php echo $buoihoc?></td>
					<td><?php echo $cahoc?></td>
				</tr>
<?php
		}	
	} 
?>
			</table>
			<div><?php echo $submit?></div>
				<!--  end product-table................................... -->
				</form>

 